import React from 'react';
import styles from './style.css'
import Cookie from 'js-cookie'


import Map from 'lodash.map'

class Friend extends React.Component {
    constructor(props) {
        super()
        this.state = {
            hasMore: true,
            autoLoadMore: false,
            headStylesTop: 97,
            array: [1],
            user: {
                userImage: ""
            }
        }
    }


    render() {
        return <div className={styles.Friend}>
            <div className={styles.row1}>
                <div className={styles.wrapperImage}>
                    <img src="/static/Badge.png" alt=""/>
                </div>
                <div className={styles.h1}>Emily Petersz</div>
                <div className={styles.small}>Student</div>
                <div className={styles.btn}>Add Friend</div>
            </div>
            <div className={styles.row2}>
                <div className={styles.item}>
                    <div className={styles.h2}>7</div>
                    <div className={styles.small1}>Courses</div>
                </div>
                <div className={styles.item}>
                    <div className={styles.h2}>7</div>
                    <div className={styles.small1}>Courses</div>
                </div>
                <div className={styles.item}>
                    <div className={styles.h2}>7</div>
                    <div className={styles.small1}>Courses</div>
                </div>
            </div>

            <div className={styles.content}>
                <div className={styles.row4}>
                    <div className={styles.wrapperImage1}>
                        <img src="/static/Badge.png" alt=""/>
                    </div>
                    <div className={styles.right}>
                        <div className={styles.title3}>Quick Learner</div>
                        <div className={styles.desc}>Completed 1 course</div>
                    </div>
                </div>
                <div className={styles.row4}>
                    <div className={styles.wrapperImage1}>
                        <img src="/static/Badge.png" alt=""/>
                    </div>
                    <div className={styles.right}>
                        <div className={styles.title3}>Quick Learner</div>
                        <div className={styles.desc}>Completed 1 course</div>
                    </div>
                </div>
                <div className={styles.row4}>
                    <div className={styles.wrapperImage1}>
                        <img src="/static/Badge.png" alt=""/>
                    </div>
                    <div className={styles.right}>
                        <div className={styles.title3}>Quick Learner</div>
                        <div className={styles.desc}>Completed 1 course</div>
                    </div>
                </div>
                <div className={styles.row4}>
                    <div className={styles.wrapperImage1}>
                        <img src="/static/Badge.png" alt=""/>
                    </div>
                    <div className={styles.right}>
                        <div className={styles.title3}>Quick Learner</div>
                        <div className={styles.desc}>Completed 1 course</div>
                    </div>
                </div>
            </div>
        </div>
    }
}

export default Friend